<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="com.ultrawise.survey.contants.SurveyConstants"%>
<%@page import="com.ultrawise.survey.module.user.vo.TSurveyInfoUsers"%>
<%
	TSurveyInfoUsers user = (TSurveyInfoUsers) session.getAttribute(SurveyConstants.LOGINED_USER);
	String name = (user != null) ? user.getUs_realname() : "";
%>
<div class="header">
	<%@include file="/survey/include/nav.jsp"%>
</div>
<!-- 当前位置的开始 -->
<div class="clear"></div>
<div class="location">
<%if(user!=null){ %>
	<div class="location_r">
		欢迎<%=name%>，访问调查系统 <a href="<%=request.getContextPath()%>/logout.htm" style="background-image:none;font-size:12px">注销登录</a>
	</div>
	<%} %>
	当前位置：<a href="http://www.ultrawise.com.cn/index.aspx" id="location_index">首页</a>
	<a href="<%=request.getContextPath()%>/front/frontlist.htm"><span>问卷调查</span></a>
	<div class="clear"></div>
</div>
<div class="clear"></div>
<!-- 当前位置的结束! -->
<%
String loginurl = request.getContextPath()+"/login.htm";
	if (user != null ) {
%>
<%@include file="/survey/include/left.jsp"%>
<%
	} else {
	response.setContentType("text/html; charset=utf-8");
	response.sendRedirect(loginurl);
	}
%>